package com.globallogic.university.people;

import org.testng.Assert;
import org.testng.annotations.Test;

public class TeacherTest { 
	
	@Test
	public void shouldSetSalary() {
	// given
	Integer expected = 3000;
	Teacher stud1 = new Teacher("John", "Doe");
	 
	// when
	stud1.setSalary(expected);
	
	// then
	Assert.assertEquals(stud1.getSalary(), expected);
}
	
}